#StatNums.py
dictword={"upcase":0,"downcase":0,"number":0}
UppNum = 0
LowNum = 0
DigNum = 0
Str = input("请输入需要进行判断的一串字符：\n")
for i in Str:
    if 'a'<=i<='z':
        LowNum += 1
    elif 'A'<=i<='Z':
        UppNum += 1
    elif '0'<=i<='9':
        DigNum += 1
print("该串字符的大字母个数为:{0}个,小写字母个数为:{1}个,数字个数为:{2}个".format(UppNum, LowNum, DigNum))
